home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- from base.g import *
- from ui_utils import *
- from PyQt4.QtCore import *
- from PyQt4.QtGui import *
- from aboutdialog_base import Ui_AboutDlg_base
-
- class AboutDialog(QDialog, Ui_AboutDlg_base):
-
- def __init__(self, parent, hplip_version, toolbox_version):
- QDialog.__init__(self, parent)
- self.setupUi(self)
- self.initUi(hplip_version, toolbox_version)
-
-
- def initUi(self, hplip_version, toolbox_version):
- self.connect(self.CloseButton, SIGNAL('clicked()'), self.CloseButton_clicked)
- self.HPLIPVersionText.setText(hplip_version)
- self.ToolboxVersionText.setText(toolbox_version)
- self.PythonPixmap.setPixmap(load_pixmap('powered_by_python.png'))
- self.OsiPixmap.setPixmap(load_pixmap('opensource-75x65.png'))
- self.HPLIPLogo.setPixmap(load_pixmap('hp-tux-printer.png'))
-
-
- def CloseButton_clicked(self):
- self.close()
-
-
-